package com.ybzl.gateway.service;

import com.ybzl.gateway.domain.Fence;
import com.ybzl.gateway.domain.dto.FenceDTO;
import com.ybzl.gateway.domain.dto.FenceStatusDTO;

import java.util.List;

public interface IFenceService {
    int saveOrUpdate(FenceDTO fenceDto);

    List<Fence> selectFence();

    int delByTs(Long ts);

    void insertFenceStatus(Long ts,String tagId, String id,Integer way);

    FenceStatusDTO selectFenceStatus(String tagId,String fenceId);

    String selectFenceRoomByBeaconId(String beaconId);


    String selectFenceByFenceIdStr(String fenceId);
}
